import React from 'react';

const Level = (props) => {
    if (props.level === 10) {
        return (
            <>
                <span>会员</span>
            </>
        )
    } else if (props.level === 20) {
        return (
            <>
                <span>经理</span>
            </>
        );
    } else if (props.level === 30) {
        return (
            <>
                <span>高级经理</span>
            </>
        );
    } else if (props.level === 40) {
        return (
            <>
                <span>Vip</span>
            </>
        );
    } else {
        return (
            <>
                <span>超级Vip</span>
            </>
        );
    }
}

export default Level;